module com.sunriz.sunrizjavafx {
    requires javafx.controls;
    requires javafx.fxml;
    requires org.slf4j;
    requires com.fasterxml.jackson.databind;
    requires lombok;
//    requires modbus4j;
    requires com.fazecast.jSerialComm;
    requires cn.hutool.core;
    requires java.logging;

    opens com.sunriz.javafx to javafx.fxml;
    opens com.sunriz.javafx.views to javafx.fxml;
    exports com.sunriz.javafx;
    exports com.sunriz.javafx.views;
    exports com.sunriz.javafx.server.model.DTO;  // 导出 DTO 包
}